package com.plian.system.entity.fr.bulletin;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @description: 快报具体值
 * @author: gangan
 * @create: 2021-02-02 16:51
 */
@Data
@TableName("fr_bulletin_value")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "快报具体值", description = "快报具体值")
public class BulletinValue implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 主表id
     */
    @ApiModelProperty(value = "主表id")
    private String bulletinId;

    /**
     * 类型code
     */
    @ApiModelProperty(value = "类型code")
    private String typeCode;

    /**
     * 类型名称
     */
    @ApiModelProperty(value = "类型名称")
    private String typeName;

    /**
     * 对应老表字段名
     */
    @ApiModelProperty(value = "对应老表字段名")
    private String columnName;

    /**
     * 本月数
     */
    @ApiModelProperty(value = "本月数")
    private BigDecimal monthAmount;

    /**
     * 本年累计
     */
    @ApiModelProperty(value = "本年累计")
    private BigDecimal yearAmount;

    /**
     * 上年同期
     */
    @ApiModelProperty(value = "上年同期")
    private BigDecimal lastYearMonthAmount;

    /**
     * 排序码
     */
    @ApiModelProperty(value = "排序码")
    private String sortCode;

    @ApiModelProperty(value = "本月数是否可编辑")
    private Boolean disabled;
}
